package com.wzl.mixed.event;

import org.springframework.context.ApplicationEvent;

/**
 * 监听的事件
 *
 * @author weizhongli
 * @since 1.0, 2022/11/15 20:40
 */
public class MpUserEvent extends ApplicationEvent {

    private static final long serialVersionUID = 5655881858032464442L;

    /**
     * 事件类型
     */
    private String eventType;

    public MpUserEvent(Object source, String eventType) {
        super(source);
        this.eventType = eventType;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }
}